# -*- coding: utf-8 -*-
# @Time    : 2016-12-07 10:46
# @Author  : wzb<wangzhibin_x@foxmail.com>
import numpy as np
import matplotlib.pyplot as plt
import matplotlib.mlab as mlab
import csv
import pandas
import seaborn
from pylab import *
from matplotlib.ticker import MultipleLocator, FormatStrFormatter
import math
from matplotlib.pyplot import MultipleLocator
import  re

filename='testdata/vol2_new.txt'
filename2='testdata/vol2_new2.txt'

open(filename2,'w').writelines(open(filename).readlines()[::-1])